#ifndef UARROWCIRCLEBUTTON_H
#define UARROWCIRCLEBUTTON_H

#include "utkwidget_export.h"

#include <QAbstractButton>

class UArrowCircleButtonPrivate;
class UTKWIDGET_EXPORT UArrowCircleButton : public QAbstractButton
{
    Q_OBJECT
public:
    explicit UArrowCircleButton(QWidget* parent = nullptr);
    ~UArrowCircleButton();

    void setSelected(bool selected);

    void setArrowed(bool arrowed);

    inline bool arrowed() const;

protected:
    void paintEvent(QPaintEvent* e) override;

    void enterEvent(QEvent* e) override;

    void leaveEvent(QEvent* e) override;

private:
    QScopedPointer<UArrowCircleButtonPrivate> d_ptr;
    Q_DISABLE_COPY(UArrowCircleButton)
    Q_DECLARE_PRIVATE_D(d_ptr, UArrowCircleButton)
};

#endif // UARROWCIRCLEBUTTON_H
